package com.yhos.platform.oopston.web.api.dto.shunfeng;

import com.yhos.platform.oopston.core.annotation.NotNullValid;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;

public class ShunfengParcelCreateDTO {


    @ApiModelProperty(value = "包裹总重量（不能小于0, 单位KG）", required = true)
    @NotNullValid(message = "包裹总重量（不能小于0, 单位KG）不能为空")
    private String weight;

    @ApiModelProperty(value = "包裹长（单位cm）", required = false)
    private String length;

    @ApiModelProperty(value = "包裹宽（单位cm）", required = false)
    private String width;

    @ApiModelProperty(value = "包裹高（单位cm）", required = false)
    private String height;

    @ApiModelProperty(value = "has_liquid 是否液体（液体：true；固体：false）", required = true)
    private String has_liquid;

    @ApiModelProperty(value = "是否带电（带电：true；不带电：false）", required = true)
    private String has_battery;

    @ApiModelProperty(value = "申报价值（不能小于0，单位USD）", required = true)
    @NotNullValid(message = "申报价值（不能小于0，单位USD）不能为空")
    private String declare_value;

    @ApiModelProperty(value = "List<product>货物信息集合", required = true)
    @NotNullValid(message = "货物信息集合 不能为空")
    private List<ShunfengProductCreateDTO> product_list;

    public String getHas_liquid() {
        return has_liquid;
    }

    public void setHas_liquid(String has_liquid) {
        this.has_liquid = has_liquid;
    }

    public String getHas_battery() {
        return has_battery;
    }

    public void setHas_battery(String has_battery) {
        this.has_battery = has_battery;
    }

    public String getLength() {
        return length;
    }

    public void setLength(String length) {
        this.length = length;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getDeclare_value() {
        return declare_value;
    }

    public void setDeclare_value(String declare_value) {
        this.declare_value = declare_value;
    }

    public List<ShunfengProductCreateDTO> getProduct_list() {
        return product_list;
    }

    public void setProduct_list(List<ShunfengProductCreateDTO> product_list) {
        this.product_list = product_list;
    }
}
